package org.force4spring.query;

public class SubQueryExpression implements Expression {
	private Query query;
	
	SubQueryExpression(Query query) {
		this.query = query;
	}
	
	public Query getQuery() {
		return query;
	}

	/**
	 * @see org.force4spring.query.Expression#buildSOQL()
	 */
	public String buildSOQL() {
		return query.buildSOQL();
	}
	
	
}
